/**
 * Created by guomin on 2017/5/15.
 */
var letter={
    getLetterList:"select `id`,`title`,`thumbnail` from wgy_letters where `upstatus`=1 order by `createtime` desc limit ?,?",
    getLetterDetailByID:"select `id`,`title`,`thumbnail`,`author`,`content`,`uptime` from wgy_letters where `upstatus`=1 and `id`=?"
};

exports=module.exports=letter;